package com.sdp.right.db.sys_org.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdp.right.entity.SysOrg;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsp
 * @since 2023-10-17
 */
@DS(value="right")
public interface ISysOrgService extends IService<SysOrg> {

	List<JSONObject> queryOrgTableTree();
	
	List<JSONObject> queryOrgTreeSelect();
	
	/**
	 * 根据组织编码查询组织信息
	 * @param orgNo
	 * @return
	 */
	SysOrg querySysOrgByNo(String orgNo);
	
	void removeSysOrgByNo(String orgNo);
}
